package com.glory.cqaospda.model;

import com.glory.cqaospda.bean.BaseResponseBean;
import com.glory.cqaospda.bean.HeaderBean;

import java.io.Serializable;

public class NetRequestBean<T> implements Serializable {
    private HeaderBean Header;
    private BaseResponseBean.Return Return;
    private T Body;

    public BaseResponseBean.Return getReturn() {
        return Return;
    }

    public void setReturn(BaseResponseBean.Return aReturn) {
        Return = aReturn;
    }

    public HeaderBean getHeader() {
        return Header == null ? new HeaderBean() : Header;
    }

    public void setHeader(HeaderBean header) {
        Header = header;
    }

    public T getBody() {
        return Body;
    }

    public void setBody(T body) {
        Body = body;
    }
}
